package com.platform.modules.wallet.service;

import com.platform.common.web.service.BaseService;
import com.platform.modules.chat.vo.ChatVo01;
import com.platform.modules.wallet.domain.WalletTransfer;
import com.platform.modules.wallet.vo.TransferVo;

import java.util.List;

public interface WalletTransferService extends BaseService<WalletTransfer> {

    WalletTransfer transfer(ChatVo01 chatVo, Long userId);

    void receive(String queryId, Long userId);

    WalletTransfer getByQueryId(String queryId);

    /**
     * 获取退款订单
     *
     * @return
     */
    List<WalletTransfer> getRefun();

    /**
     * 退款
     *
     * @param id
     */
    void refund(Long id);

}
